package com.ashapo.pattern.pattern011facade;

//第4步
//使用装饰类来绘制各种类型的形状。

public class FacadePatternDemo {

    /**
     * 门面模式
     * @param args
     */
    public static void main(String[] args) {
        ShapeMaker shapeMaker = new ShapeMaker();

        shapeMaker.drawCircle();
        shapeMaker.drawRectangle();
        shapeMaker.drawSquare();
    }
}
